package com.yunhui.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunhui.entity.YCAdmin;

public interface YCAdminMapper extends BaseMapper<YCAdmin>{
		
	/**
	 * 根据用户名查询一个
	 * @param adminInputName
	 * @return
	 */
	YCAdmin selectYCAdminByAccount(@Param("adminInputName") String adminInputName);
	
	/**
	 * 查询用户的是否正确
	 * @param paramMap
	 * @return
	 */
	Long selectYCAdminByAccountByIDAndPassword(Map<String, Object> paramMap);
	
	
	/**
	 * 根据用户名修改密码
	 * @param paramMap
	 * @return
	 */
	Long updatePasswordByAccount(Map<String, Object> paramMap);
}
